#ifndef RESOURCE_EDITOR_VETO_H
#define RESOURCE_EDITOR_VETO_H

#include <ipropertyobject.h>

namespace core
{
class IGraphicEditorItem;
}

namespace swp
{
class GraphicData;

class ResourceEditorVeto : public core::IVetoObject
{
public:
    ResourceEditorVeto(core::IGraphicEditorItem* item);

    bool valueChanged(const QString& propertyName,
        const QString& propertyText, const QVariant &oldValue,
        const QVariant &newValue, QString& reason) const;

private:
    core::IGraphicEditorItem* m_item;
};

} // namespace swp

#endif
